<extend name="Public:base" />


<block name="head">

<script>
var change_now_id;
function change(id){
	if(confirm('真的要换乘吗？')){
		// $('#' + id).remove();
		$('#' + change_now_id).html('');
		$('#' + id).html($('#active').html());
		change_now_id = id;
	}
}
$(function(){
	//选中第几
	change_now_id = 2;
	$('#2').html($('#active').html());
});
</script>
</block>


<block name="main">

<!-- <img src="__PUBLIC__/img/account/top.jpg" width="100%"> -->

<br><br>

<div class="container">

	<include file="_nav"/>

	<table class="table">
		<thead>
			<tr>
				<td width="15%">线路</td>
				<td width="20%">连接</td>
				<td>目的地</td>
				<td width="10%"></td>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td>A<br>7:45</td>
				<td>体育中心</td>
				<td>体育中心西大门<br>天河大厦对面、体育中心E出口</td>
				<td id="">
					<span class="glyphicon glyphicon-ok text-success"></span>
				</td>
			</tr>
		</tbody>
	</table>

	{:date('Y-m-d')} 7:10 班车从南沙出发<br>
	{:date('Y-m-d')} 7:40 班车到达目的地：华南师范大学<br>
	<br>

	<div class="navbar-fixed-bottom">
		<?php if($_GET['ok']):?>
		<button class="btn btn-block btn-success" disabled="disabled" 
		onclick="location.href='__URL__/sign?ok=1'">我已上车</button>
		<?php else:?>
		<button class="btn btn-block btn-primary"
		onclick="location.href='__URL__/sign?ok=1'">我已上车</button>
		<?php endif;?>
	</div>

	<div class="alert alert-warning alert-dismissible fade in" role="alert">
		<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
		学生上车后点击报到
	</div>


</div>

</block>
